package xyz.mantianx.service;

import org.springframework.stereotype.Component;

/**
 * @author starrysky
 * @title: HumanImpl
 * @projectName spring5
 * @description: TODO
 * @date 2021/2/302:32
 */
@Component
public class HumanImpl implements Human {
    @Override
    public void eat() {
        System.out.println("吃");
    }

    @Override
    public void drink() {
        System.out.println("喝");
    }

    @Override
    public void go() {
        System.out.println("走");
    }

    @Override
    public void sleep() {
        System.out.println("睡");
    }
}
